package org.base.sys.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.base.common.enums.IEnum;

/**
 * @author He mingliang
 * @date 2020/7/29
 */
@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum OpStatus implements IEnum {

    SUCCESS(1, "成功"),
    FAIL(2, "失败");
    private int code;
    private String value;
}
